package com.example.mapper;

import com.example.pojo.BookMenuPreservation;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.ResultMap;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface BookMenuPreservationMapper {

    @Select("select * from t_book_menu_preservation where book_id=#{bookId}")
    @ResultMap("BookMenuPreservationResult")
    BookMenuPreservation selectByBookId(Integer bookId);

}
